.class public Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;
.super Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/Button;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;-><init>()V

    return-void
.end method


# virtual methods
.method public cancel(Landroid/view/View;)V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->finish()V

    return-void
.end method

.method public logout(Landroid/view/View;)V
    .locals 1

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->setResult(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->finish()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/im/activity/IMBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03016e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->setContentView(I)V

    const v0, 0x7f0c081e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->a:Landroid/widget/TextView;

    const v0, 0x7f0c081f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->b:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->a:Landroid/widget/TextView;

    const v1, 0x7f0802f6

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "deleteToast"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->a:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->b:Landroid/widget/Button;

    const v1, 0x7f0802f5

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(I)V

    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ExitGroupDialog;->finish()V

    const/4 v0, 0x1

    return v0
.end method
